package com.accloud.cloudservice;

import com.accloud.utils.NetworkUtils;
import java.net.NetworkInterface;
import java.net.SocketException;

/* access modifiers changed from: package-private */
public class MXLegacyActivator extends ACDeviceActivator {
//    private EasyLink_plus linkPlus;

    MXLegacyActivator() {
    }

    @Override // com.accloud.cloudservice.ACDeviceActivator
    public void startSmartConfig(String ssid, String password, int timeout_ms) {
//        this.linkPlus = EasyLink_plus.getInstence();
//        try {
//            if (NetworkInterface.getByName("wlan0").getMTU() < 1500) {
//                this.linkPlus.setSmallMtu(true);
//            }
//        } catch (SocketException e) {
//            e.printStackTrace();
//        }
//        this.linkPlus.transmitSettings(ssid.getBytes(), password.getBytes(), new EasyLinkUserInfo(NetworkUtils.getBSSID(AC.context), NetworkUtils.getIpAddress(AC.context), 1).getBytes());
    }

    @Override // com.accloud.cloudservice.ACDeviceActivator
    public void stopSmartConfig() {
        super.stopSmartConfig();
//        this.linkPlus.stopTransmitting();
    }
}
